import React, { Component } from 'react'

export default class News extends Component {
  //两秒后自动跳转到meg页面
  componentDidMount() {
    setTimeout(() => {
      this.props.history.push('/home/message')
    }, 2000)
  }
  render() {
    return (
      <div>
        <ul>
          <li>News111</li>
          <li>News222</li>
          <li>News333</li>
        </ul>
      </div>
    )
  }
}
